
#ifndef SOFT_TIME_H_
    
#define  SOFT_TIME_H_
#include "r_cg_macrodriver.h" 
    
#define TIME_CLEAN 0
#define UnitMSec 1
#define UnitSec  2
#define UnitMin  3 
#define UnitHour  4
    
typedef struct {
uint16_t time_start;
uint16_t time_msec;
uint16_t time_sec;
uint16_t time_min;
uint16_t  time_hour ;  
}Time;


uint16_t Get_Time(uint8_t time_style , Time *time);


#endif

